home *** CD-ROM | disk | FTP | other *** search
- Path: ifi.uio.no!usenet
- From: ludvigp@ifi.uio.no (Ludvig Pedersen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: PPC compilers
- Date: 5 Feb 1996 17:57:53 GMT
- Organization: Dept. of Informatics, University of Oslo, Norway
- Message-ID: <987.6609T1075T1727@ifi.uio.no>
- References: <38232191@kone.fipnet.fi> <551.6602T1231T2646@ifi.uio.no>
- <38232238@kone.fipnet.fi> <1316.6605T735T2597@ifi.uio.no> <38232280@kone.fipnet.fi>
- NNTP-Posting-Host: gymir.ifi.uio.no
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- >> Now, I'm thinking about something that /can/ be wrong with the addx
- >> routines.
- >> The X-flag is not added to d2 at the correct time, I think.
- >> Its delayed with 1 run throw the loop:
- >> So here is a suggestion:
- >> sub.w d1,d2 ; This routine will only affect the hi-word
- >> add.l d1,d2 ; d2 and set the xflag right.
- >> This routine will solve the the x-flag *and* the delay problem.
- >> (If you are using 16:16)
- >> It looked cool, I think I will try that in my routines! :)
- >Yep, the problem is, that the decimals are delayed. So this
- >will fix it? How about with two addx? What then?
-
- That should fix the delay problem. For 1 addx and 2 addx'es. :)
- Remember when you use 2 addx the fraction parts are swapped, so the
- fract and x-flag is calculated on the addx above, so there will be no delay
- problems on the second addx. Everything should be correct!
-
-
-
-
- <sb>Ludde - Amiga Demo Coder
- <sb>Virtual Reality & Official Be developer
- <sb>ludvigp@ifi.uio.no
-
-